package com.zi.experttalk.experttalk.View;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageSwitcher;
import android.widget.ListView;
import android.widget.TextView;
import com.zi.experttalk.experttalk.R;

/**
 * Created by lenovo on 2014/12/10.
 */
public class Main_pageActivity extends Activity {
    private Button main_page_location_Button;
    private TextView main_page_city_TextView;
    private ImageSwitcher main_page_Advertise_ImagerSwitcher;
    private ListView main_page_Advertise_ListView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main_page);

        main_page_location_Button = (Button) findViewById(R.id.main_page_location_Button);
        main_page_city_TextView = (TextView) findViewById(R.id.main_page_city_TextView );
        main_page_Advertise_ImagerSwitcher = (ImageSwitcher) findViewById(R.id.main_page_Advertise_ImagerSwitcher);
        main_page_Advertise_ListView = (ListView) findViewById(R.id.main_page_Advertise_ListView);

        main_page_location_Button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(Main_pageActivity.this,CitylistActivity.class);
                startActivity(intent);
            }
        });



    }


}
